package com.xxxx.rpc.service.impl;


import com.xxxx.api.pojo.User;
import com.xxxx.api.service.UserService;
import org.apache.dubbo.config.annotation.Service;

/**
 * @author ppliang
 * @date 2021/1/4 19:27
 */
@Service(version = "1.0")
public class UserServiceImpl implements UserService {

    @Override
    public User selectUserById(Integer id) {
        User user = new User();
        user.setName("ppl");
        user.setId(id);
        return user;
    }
}
